
package com.idealighter.game.games.doudizhu.handler;

import com.google.inject.Inject;

import com.idealighter.game.core.annotation.ReqMsgHandler;
import com.idealighter.game.games.doudizhu.manager.DouDiZhuMgr;
import com.idealighter.game.message.core.ReqMessage;
import com.idealighter.game.message.core.ResMessage;
import com.idealighter.game.player.struct.Player;
import com.idealighter.game.server.handler.ReqMessageHandler;


@ReqMsgHandler(501103)
public class ReqApplyHandler implements ReqMessageHandler {

  @Inject
  private DouDiZhuMgr douDiZhuMgr;

  @Override
  public ResMessage action(Player player, ReqMessage message) {
    // ReqApplyMsg msg = (ReqApplyMsg)message;
    douDiZhuMgr.apply(player);
    return null;
  }
}
